import java.util.Scanner;

public class thatThesize {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int one, two, three, max, minddle, min = 0;
        System.out.println("请输入三个整数");
        one = input.nextInt();
        two = input.nextInt();
        three = input.nextInt();
        max = one;
        if (two > one && two > three) {
            max = two;
        } else if (three > one && three > two) {
            max = three;
        }
        if (two < one && two < three) {
            min = two;
        } else if (three < one && three < two) {
            min = three;
        }
        minddle = (one + two + three) - (max + min);
        System.out.print(one + "\t");
        System.out.print(two + "\t");
        System.out.print(three + "\t");
    }
}

